package com.xiaoye.qbproject.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * mq配置表
 *
 * @TableName MQ_CONFIG
 */
@TableName(value = "MQ_CONFIG")
@Data
public class MqConfig implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "ID")
    private Integer id;

    /**
     * NameServer地址（多个用分号分隔）
     */
    @TableField(value = "NAME_SERVER")
    private String nameServer;

    /**
     * 生产者组名
     */
    @TableField(value = "PRODUCER_GROUP")
    private String producerGroup;

    /**
     * 消息主题
     */
    @TableField(value = "TOPIC")
    private String topic;
    /**
     * 消息标签
     */
    @TableField(value = "TAG")
    private String tag;

    /**
     * 是否开启
     */
    @TableField(value = "IS_ENABLE")
    private Integer isEnable;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}